<?php
/**
* @version 1.0.0
* @package RSSearch! 1.0.0
* @copyright (C) 2011 www.rsjoomla.com
* @license GPL, http://www.gnu.org/copyleft/gpl.html
*/
defined('_JEXEC') or die('Restricted access');

class RssearchHelper
{
	function getConfig($name = null)
	{
		$session =& JFactory::getSession();
		$config = $session->get('rssearchConfig');
		if ($name != null)
		{
			if (isset($config[$name]))
				return $config[$name];
			else
				return false;
		}
		else
			return $config;
	}
}

?>